package com.gangan.model.view;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * ClassName: DoctorView <br/>
 * Description: <br/>
 * date: 2019/10/8 10:22<br/>
 *
 * @author Administrator<br />
 * @since JDK 1.8
 */
@Data
public class DoctorView {
    private static final long serialVersionUID = 1L;
    /**
     * 自增主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="自增主键",hidden = true)
    private Integer id;
    /**
     * 医生名称
     */
    @ApiModelProperty(value="医生名称",example="李医生")
    private String name;

    /**
     * 医生英语名
     */
    @ApiModelProperty(value="医生英语名",example="Jack")
    private String englishName;
    /**
     * 擅长疾病治疗主键
     */
    @ApiModelProperty(value="擅长疾病治疗主键",example="1,2,3,4,5")
    private String diseaseIds;

    //疾病名字
    private String diseaseName;
    /**
     * 医生科室自增主键
     */
    @ApiModelProperty(value="医生科室自增主键",example="1")
    private Integer sectionId;

    //科室名字
    private String sectionName;
    /**
     * 医生简介
     */
    @ApiModelProperty(value="医生简介",example="性别男，爱好女")
    private String summary;
    /**
     * 医生荣誉
     */
    @ApiModelProperty(value="医生荣誉",example="曾获得中原地区皮皮虾脱壳第一名")
    private String honor;
    /**
     * 工作地址
     */
    @ApiModelProperty(value="工作地址",example="龙岗区第三人民医院")
    private String jobAddress;
    /**
     * 性别，0是男性，1是女性,默认为男性
     */
    @ApiModelProperty(value="性别(0是男，1是女)",example="0")
    private Integer sex;

    /**
     * 职位
     */
    @ApiModelProperty(value="职位",example="主任医生")
    private String job;

    /**
     * 逻辑删除标识 0-正常 , 1-删除
     */
    @TableLogic
    @ApiModelProperty(value="逻辑删除识别",example="1")
    private Boolean delFlag;


    @ApiModelProperty(value = "主属部门id",example = "1")
    private Integer mainDepartmentId;

    private String mainDepartmentName;

    @ApiModelProperty(value = "附属部门id",example = "1")
    private Integer affiliatedDepartmentId;

    private String affiliatedDepartmentName;

    @ApiModelProperty(value = "服务人数",example = "100",hidden = true)
    private Integer serviceNum;
}
